<!DOCTYPE html>
<html lang='en'>
<head>
    <title>PixelJihad</title>
    <meta name='viewport'
        content='width=device-width, initial-scale=1, maximum-scale=1'>
    <link href='main.css' type='text/css' rel='stylesheet' />
    <script src='sjcl.js' type='text/javascript'></script>
    <script src='main.js' type='text/javascript'></script>
</head>
<body>
    <a href="https://github.com/oakes/PixelJihad">
    <img style="position: absolute; top: 0; right: 0; border: 0;"
    src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"
    alt="Fork me on GitHub"></a>
    <h1>PixelJihad</h1>
    <div id='about' class='section'>
        A <a href='http://en.wikipedia.org/wiki/Steganography'>stego</a>
         tool in pure HTML5 by Zach Oakes.<br/>
        Works well in Chrome, Firefox, Opera, and IE10+.<br/>
        <a href='about.html'>How it works</a>.
    </div>
    <div id='main' class='section dark'>
        <div class='step'>Choose an image</div>
        <img id='preview' class='preview hide' />
        <div class='sectionbody'>
            <input type='file' id='file' />
        </div>
    </div>
    <div id='choose' class='section dark hide'>
        <div class='step'>What do you want to do?</div>
        <div class='sectionbody'>
            <div class='left'>
                <textarea id='message' class='message' maxlength='1000'
                    placeholder='Type hidden message'></textarea>
                <input type='password' id='password' class='password'
                    placeholder='Password (optional)' />
                <button id='encode' class='submit'>Hide message</button>
            </div>
            <div class='right'>
                <input type='password' id='password2' class='password'
                    placeholder='Password' />
                <button id='decode' class='submit'>Reveal message</button>
            </div>
        </div>
    </div>
    <div id='reveal' class='section dark hide'>
        <div class='step'>Hidden message</div>
        <div id='messageDecoded' class='sectionbody'></div>
    </div>
    <canvas id='canvas' class='hide'></canvas>
    <img id='output' />
</body>
</html>
